package com.coupang.freshman;

import com.coupang.freshman.base.AbstractOneToTenNumberPrinter;
import com.coupang.freshman.base.IOneToTenNumberPrinter;

import java.util.HashMap;
import java.util.Map;

/**
 * @auth sdflower(돌군)
 * @since 2014. 6. 17. 오전 11:40
 */
public class OneToTenWordNumberPrinter extends AbstractOneToTenNumberPrinter implements IOneToTenNumberPrinter {

	static Map<Integer,String> numberMap = new HashMap<Integer, String>();
	static {
		numberMap.put(1, "일");
		numberMap.put(2, "이");
		numberMap.put(3, "삼");
		numberMap.put(4, "사");
		numberMap.put(5, "오");
		numberMap.put(6, "육");
		numberMap.put(7, "칠");
		numberMap.put(8, "팔");
		numberMap.put(9, "구");
		numberMap.put(10, "십");
	}

	public void print() {
		for (int i = 0; i < 10; i++) {
			System.out.println(numberMap.get(i + 1));
		}
	}

	public static void main(String[] args) {
		OneToTenWordNumberPrinter obj = new OneToTenWordNumberPrinter();
		obj.print();
	}
}
